package com.ruoyi.payment.service.impl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.payment.dto.PaymentDto;
import com.ruoyi.payment.mapper.TbPaymentMapper;
import com.ruoyi.payment.service.TbPaymentService;
import com.ruoyi.pojo.TbPayment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbTbPaymentServiceImpl extends ServiceImpl<TbPaymentMapper, TbPayment> implements TbPaymentService {

    @Autowired
    private TbPaymentMapper tbPaymentMapper;



    @Override
    public Page<PaymentDto> findAll(Page<TbPayment> page, PaymentDto paymentDto) {

        return tbPaymentMapper.findAll(page, paymentDto);
    }


}